package thisTest;

public class NumberTest2 {
	int number ;
	
	public NumberTest2 count(){
		number++;
		return this;
	}
	
	
	public static void main(String[] args) {
		
		NumberTest2 n = new NumberTest2();
		System.out.println(n.count());
		
		n.count().count().count();
		System.out.println(n.count().number);
		
	}

}
